{{- $open := false }}
{{- if in (slice "false" false 0) (.Get "open") }}
    {{- $open = false }}
{{- else if in (slice "true" true 1) (.Get "open")}}
    {{- $open = true }}
{{- end }}
{{- partial "shortcodes/notice.html" (dict
  "page"     .Page
  "class"    (.Get "class")
  "content"  .Inner
  "expanded" $open
  "groupid"  (.Get "name")
  "style"    "transparent"
  "title"    ((.Get "summary") | default (T "Details"))
  "hint"     (.Get "title")
) }}